import {defineStore} from "pinia";

// @ts-ignore
export default defineStore('appStore',{
    state:()=>{
        return {
            userInfo:{},
            token:'',
            activePath:'/home/system/user',
            menuList: [],
            isCollapse: false
        }
    },
    actions:{

    },
    persist:{
        enabled:true,
        strategies:[
            {
                key:'appStore',
                storage:localStorage
            }
        ]

    }
})